package Home_Work.src.day02;

/**
 * 将字符串123,456,789,012根据","拆分，并输出拆分后的每一项
 * @author Bonnie
 *
 */
public class Test02 {
	public static void main(String[] args) {
		String s = "123,456,789,012" ;
		String[] ss = s.split(","); 
		
		for(int i = 0 ; i < ss.length ; i ++) {
			System.out.println(ss[i]);
		}	
	}
}
